<template>
  <avue-form :option="option"
             v-model="form"></avue-form>
</template>
<script>
export default {
  data () {
    return {
      form: {},
      option: {
        column: [
          {
            label: '单文本框',
            prop: 'input',
            maxlength: 10,
            showWordLimit: true
          }, {
            label: '多文本框',
            prop: 'textarea',
            type: 'textarea',
            minRows: 3,
            maxRows: 5,
            maxlength: 20,
            span: 24,
            showWordLimit: true
          }
        ]
      }
    }
  }
}
</script>